package com.dr.cmdb.core.mapper;

import com.dr.cmdb.core.domain.TablesModel;
import com.dr.cmdb.core.dto.TableModelsDto;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * @ProjectName: cmdb
 * @Package: com.dr.cmdb.application.mapper
 * @Description: java类作用描述
 * @Author: duanrui
 * @CreateDate: 2021/3/30 14:10
 * @Version: 1.0
 * <p>
 * Copyright: Copyright (c) 2021
 */
public interface TablesModelMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(TablesModel record);

    TablesModel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TablesModel record);

    List<TableModelsDto> selectByTableName(@Param("tableName") String tableName);
}